import { PageHeader, Affix } from 'antd';

export default (params) => {
    const { title, extra } = params

    return (
        <Affix offsetTop={65} >
            <PageHeader
                ghost={false}
                onBack={() => window.history.back()}
                title={title}
                extra={extra}
            />
        </Affix>
    )
}
